virtualisation.fileSystems.<name>.overlay.lowerdir

The list of path(s) to the lowerdir(s).

To create a writable overlay, you MUST provide an upperdir and a workdir.

You can create a read-only overlay when you provide multiple (at least 2!) lowerdirs and neither an upperdir nor a workdir.

Type
null or (non-empty (list of (string or path in the Nix store)))
Default
null
Declared
<nixpkgs/nixos/modules/tasks/filesystems/overlayfs.nix>